package gob.osinerg.emergencia.service;

import gob.osinerg.emergencia.bean.AccidenteGraveFinal;
import gob.osinerg.emergencia.bean.AccidenteGravePreliminar;
import gob.osinerg.emergencia.bean.FormularioEmergenciaUnmay;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface AccidenteGraveFinalService {
	public void save(AccidenteGraveFinal bean, FormularioEmergenciaUnmay beanform) throws Exception;
	public List findAccidenteGravePreliminar(String usrioCrdor, Long frmlarioId) throws Exception;
	public List findAccidenteGraveFinal(String usrioCrdor, Long frmlarioId) throws Exception;
	public AccidenteGravePreliminar findAccidenteGravePreliminar(Long id) throws Exception;
	public AccidenteGraveFinal findAccidenteGraveFinal(Long id) throws Exception;
	public ArrayList getCausas(String causa, String tipo) throws Exception;
	public Map getTodasCausas() throws Exception;
	public Long obtenerIDAccidenteGraveFinal(Long idFormulario) throws Exception;;
	
}
